/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.smarttmt.smartmanager.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author nicolas
 */
@Entity
@Table(name = "VW_ACTIVIDADES_SOLICITUD")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "VwActividadesSolicitud.findAll", query = "SELECT v FROM VwActividadesSolicitud v"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprrequ", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprrequ = :maprrequ"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprsecu", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprsecu = :maprsecu"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprfech", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprfech = :maprfech"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprdeta", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprdeta = :maprdeta"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprfein", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprfein = :maprfein"),
    @NamedQuery(name = "VwActividadesSolicitud.findByMaprfefi", query = "SELECT v FROM VwActividadesSolicitud v WHERE v.maprfefi = :maprfefi")})
public class VwActividadesSolicitud implements Serializable {
    private static final long serialVersionUID = 1L;
    @Basic(optional = false)
    @NotNull
    @Column(name = "MAPRREQU")
    @javax.persistence.Id
    private int maprrequ;
    @Basic(optional = false)
    @NotNull
    @Column(name = "MAPRSECU")
    @javax.persistence.Id
    private int maprsecu;
    @Basic(optional = false)
    @NotNull
    @Column(name = "MAPRFECH")
    @Temporal(TemporalType.TIMESTAMP)
    private Date maprfech;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 1000)
    @Column(name = "MAPRDETA")
    private String maprdeta;
    @Basic(optional = false)
    @NotNull
    @Column(name = "MAPRFEIN")
    @Temporal(TemporalType.TIMESTAMP)
    private Date maprfein;
    @Basic(optional = false)
    @NotNull
    @Column(name = "MAPRFEFI")
    @Temporal(TemporalType.TIMESTAMP)
    private Date maprfefi;

    public VwActividadesSolicitud() {
    }

    public int getMaprrequ() {
        return maprrequ;
    }

    public void setMaprrequ(int maprrequ) {
        this.maprrequ = maprrequ;
    }

    public int getMaprsecu() {
        return maprsecu;
    }

    public void setMaprsecu(int maprsecu) {
        this.maprsecu = maprsecu;
    }

    public Date getMaprfech() {
        return maprfech;
    }

    public void setMaprfech(Date maprfech) {
        this.maprfech = maprfech;
    }

    public String getMaprdeta() {
        return maprdeta;
    }

    public void setMaprdeta(String maprdeta) {
        this.maprdeta = maprdeta;
    }

    public Date getMaprfein() {
        return maprfein;
    }

    public void setMaprfein(Date maprfein) {
        this.maprfein = maprfein;
    }

    public Date getMaprfefi() {
        return maprfefi;
    }

    public void setMaprfefi(Date maprfefi) {
        this.maprfefi = maprfefi;
    }

    @Override
    public String toString() {
        return "VwActividadesSolicitud{" + "maprrequ=" + maprrequ + ", maprsecu=" + maprsecu + ", maprfech=" + maprfech + ", maprdeta=" + maprdeta + ", maprfein=" + maprfein + ", maprfefi=" + maprfefi + '}';
    }

}
